pub use sea_orm_migration::prelude::*;

mod m20220101_000001_create_table;
mod m20220520_123224_create_booking_status;
mod m20220520_123958_users_create;
mod m20220520_124906_create_booking;
mod m20220521_204511_radom_data;
mod m20220521_223848_view_book_pub_status;
mod m20220521_225755_view_users;

pub struct Migrator;

#[async_trait::async_trait]
impl MigratorTrait for Migrator {
    fn migrations() -> Vec<Box<dyn MigrationTrait>> {
        vec![
            Box::new(m20220101_000001_create_table::Migration),
            Box::new(m20220520_123224_create_booking_status::Migration),
            Box::new(m20220520_123958_users_create::Migration),
            Box::new(m20220520_124906_create_booking::Migration),
            Box::new(m20220521_204511_radom_data::Migration),
            Box::new(m20220521_223848_view_book_pub_status::Migration),
            Box::new(m20220521_225755_view_users::Migration),
        ]
    }
}
